TWM625395U - Item Recommendation Device Using Combinatorial Algorithm - Google Patents

Item Recommendation Device Using Combinatorial Algorithm Download PDF

Info

Publication number
TWM625395U
TWM625395U TW110211279U TW110211279U TWM625395U TW M625395 U TWM625395 U TW M625395U TW 110211279 U TW110211279 U TW 110211279U TW 110211279 U TW110211279 U TW 110211279U TW M625395 U TWM625395 U TW M625395U
Authority
TW
Taiwan
Prior art keywords
training
information
running
algorithm
module
Prior art date
Application number
TW110211279U
Other languages
Chinese (zh)
Inventor
林仕斌
Original Assignee
前進智能股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 前進智能股份有限公司 filed Critical 前進智能股份有限公司
Priority to TW110211279U priority Critical patent/TWM625395U/en
Publication of TWM625395U publication Critical patent/TWM625395U/en

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本新型揭示一種使用組合演算法的項目推薦裝置包括前端裝置與運行裝置。前端裝置用於接收推薦演算法需求與輸入資訊。運行裝置用於根據推薦演算法需求自演算法運行配置庫獲取演算法運行資訊,其中演算法運行資訊記錄要被運行的一個或多個運行模組;運行裝置自資料與模型資料庫,根據演算法運行資訊選取運行模組的至少一已訓練模型與至少一已訓練資料,並取得至少一運行參數,以藉此建立運行模組的運行程式代碼;以及運行裝置基於輸入資訊執行運行模組的運行程式代碼,以產生至少一推薦項目,並傳送給前端裝置。The present invention discloses an item recommendation device using a combination algorithm, which includes a front-end device and a running device. The front-end device is used for receiving recommendation algorithm requirements and input information. The running device is used to obtain algorithm running information from the algorithm running configuration library according to the recommended algorithm requirements, wherein the algorithm running information records one or more running modules to be run; the running device is from the data and model database, according to the algorithm The running information selects at least one trained model and at least one trained data of the running module, and obtains at least one running parameter, so as to establish the running program code of the running module; and the running device executes the running of the running module based on the input information The program code is used to generate at least one recommended item and transmit it to the front-end device.

Description

使用組合演算法的項目推薦裝置Item Recommendation Device Using Combinatorial Algorithm

本新型相關於一種使用組合演算法的項目推薦裝置,特別地是相關於一種將演算法模組化後、再依需求組合使用的項目推薦裝置。The present invention relates to an item recommendation device using a combined algorithm, in particular, to an item recommendation device that modulates the algorithm and then uses it in combination according to requirements.

許多網站都會在使用者瀏覽網頁的同時,於網頁上利用推薦版位來提供使用者其他相關的資訊,例如,與網頁內容相關的其他商品、與使用者相關的廣告內容等,並希望藉由如此的方式提升網站的收益。而推薦演算法即為決定推薦內容的主角,亦是實施難易度的關鍵。Many websites will use recommended positions on the webpage to provide users with other relevant information when users browse the webpage, such as other products related to the webpage content, advertisement content relevant to the user, etc. In this way, the revenue of the website is increased. The recommendation algorithm is the protagonist in determining the recommended content, and it is also the key to the difficulty of implementation.

在一種習知技術中,推薦系統中的每一個推薦演算法係實施為獨立分別開發。在此情形下,由於有各種不同的使用者接觸點,且每個使用者接觸點大多需要不斷變換試驗不同演算法,因此導致有大量的演算法產生需求,但每個演算法的獨立開發時程往往都耗時費工,除容易造成整體開發時程延宕冗長,也代表著大量的人力資源需求。In one known technique, each recommendation algorithm in a recommendation system is implemented as independently developed. In this case, since there are various user contact points, and each user contact point needs to constantly change and test different algorithms, there is a demand for a large number of algorithms, but the independent development of each algorithm requires Processes are often time-consuming and labor-intensive. In addition to easily causing the overall development schedule to be delayed, it also represents a large demand for human resources.

在另一種習知技術中,進一步改良利用共享資料庫及共享程式碼。然此種方式僅能部分減輕重複的開發時程,在每個演算法的模型訓練(training)與演算法運行(serving)上都還是需要各自獨立開發,而且,若使用如深度學習等的複雜模型建模或混合推薦演算法,此時開發調整一個演算法則會更加耗時。In another prior art technique, the use of shared databases and shared code is further improved. However, this method can only partially reduce the repetitive development time. The model training and serving of each algorithm still need to be developed independently. Moreover, if complex methods such as deep learning are used, Model modeling or hybrid recommendation algorithms, it is more time-consuming to develop and adjust an algorithm at this time.

因此,確實有需要對習知技術進行改良,而能更有效率地取得合乎需求的推薦演算法。Therefore, there is a real need to improve the conventional techniques to obtain the desired recommendation algorithm more efficiently.

為解決上述問題,本新型之實施例發展出使用組合演算法的項目推薦裝置係將演算法加以模組化,以藉此快速因應推薦演算法需求隨著網站之推薦版位規劃改變而出現變化的情形,進而節省下開發所需之大量時間與人力資源。In order to solve the above-mentioned problem, an item recommendation device using a combined algorithm is developed in the embodiment of the present invention, and the algorithm is modularized, so as to quickly respond to the needs of the recommendation algorithm and change with the change of the recommended site plan of the website. , thereby saving a lot of time and human resources required for development.

具體而言,本新型之實施例發展出一種使用組合演算法的項目推薦裝置,係根據接收的一推薦演算法需求與一輸入資訊,輸出至少一推薦項目,該項目推薦裝置包括一前端裝置,用於接收該推薦演算法需求與該輸入資訊,其中該輸入資訊包括執行該推薦演算法需求之一推薦演算法所需要的一必要資訊;以及一運行裝置,訊號連接該前端裝置,並用於執行:根據該推薦演算法需求自一演算法運行配置庫獲取一演算法運行資訊,其中該演算法運行資訊記錄要被運行的一個或多個運行模組;自一資料與模型資料庫,根據該演算法運行資訊選取該運行模組的至少一已訓練模型與至少一已訓練資料,並取得至少一運行參數,以藉此建立該運行模組的一運行程式代碼,其中該資料與模型資料庫儲存有多個已訓練資料與多個已訓練模型;以及基於該輸入資訊執行該運行模組的該運行程式代碼,以產生該至少一推薦項目,並將該至少一推薦項目傳送給該前端裝置。Specifically, an embodiment of the present invention develops an item recommendation device using a combination algorithm, which outputs at least one recommended item according to a received recommendation algorithm requirement and an input information, and the item recommendation device includes a front-end device, is used for receiving the recommendation algorithm requirement and the input information, wherein the input information includes a necessary information required to execute a recommendation algorithm required by the recommendation algorithm requirement; and a running device, the signal is connected to the front-end device and used for executing : Obtain an algorithm operation information from an algorithm operation configuration library according to the requirements of the recommended algorithm, wherein the algorithm operation information records one or more operation modules to be executed; from a data and model database, according to the The algorithm operation information selects at least one trained model and at least one trained data of the operation module, and obtains at least one operation parameter, thereby establishing an operation program code of the operation module, wherein the data and the model database are storing a plurality of trained data and a plurality of trained models; and executing the running program code of the running module based on the input information to generate the at least one recommended item, and transmit the at least one recommended item to the front-end device .

依據一實施例,其中該演算法運行資訊記錄要被運行的該等運行模組,且該運行裝置更用於根據該等運行模組之間的一模組關聯關係建構一運行管道流程;其中依據該運行管道流程,該等運行模組的該等運行程式代碼被依序或並行地執行,以產生該至少一推薦項目。According to an embodiment, the algorithm operation information records the operation modules to be executed, and the operation device is further configured to construct an operation pipeline process according to a module association relationship between the operation modules; wherein According to the running pipeline process, the running program codes of the running modules are executed sequentially or in parallel to generate the at least one recommended item.

依據又一實施例,其中該演算法運行資訊包括要被運行的該等運行模組每一者的一運行程式資訊、一運行參數資訊、一已訓練資料資訊、一輸出資料資訊與一輸出資料格式資訊,以及包括該等運行模組之間的一模組關聯關係。According to yet another embodiment, wherein the algorithm operation information includes an operation program information, an operation parameter information, a trained data information, an output data information and an output data for each of the operation modules to be executed Format information, and includes a module association between the running modules.

依據又一實施例,其中該演算法運行資訊更記錄該運行模組所需使用之其他該等運行模組之至少一者的至少一執行結果,且該運行模組的該運行程式代碼的建立亦關聯於該運行模組所需使用之該其他運行模組的該執行結果。According to yet another embodiment, the algorithm operation information further records at least one execution result of at least one of the other operation modules required by the operation module, and the creation of the operation program code of the operation module It is also associated with the execution result of the other running modules that the running module needs to use.

依據又一實施例,該項目推薦裝置更包括該資料與模型資料庫,訊號連接該運行裝置;以及該演算法運行配置庫,訊號連接該運行裝置。According to another embodiment, the item recommendation device further includes the data and model database, which is connected to the running device by a signal; and the algorithm running configuration library, which is connected to the running device by a signal.

依據又一實施例,該項目推薦裝置更包括一訓練裝置,用於依據一訓練運行資訊,自一訓練模組配置庫取得一個或多個訓練模組資訊,其中該訓練運行資訊記錄要被訓練的一或多個訓練模組;根據該訓練模組資訊自一原始數據資料庫獲取該訓練模組之一待訓練模型、一訓練參數與所需求的一訓練輸入資料,並據此產生該訓練模組的一訓練程式代碼;以及執行該訓練模組的該訓練程式代碼,以產生該訓練模組的一已訓練模型與一已訓練資料給該資料與模型資料庫儲存。According to yet another embodiment, the item recommendation device further includes a training device for obtaining one or more training module information from a training module configuration library according to a training operation information record, wherein the training operation information record is to be trained one or more training modules of the training module; obtain a model to be trained, a training parameter and a required training input data of the training module from a raw data database according to the training module information, and generate the training accordingly a training program code of the module; and executing the training program code of the training module to generate a trained model of the training module and a trained data for storage in the data and model database.

依據又一實施例,其中該訓練運行資訊記錄要被訓練的該等訓練模組,且該訓練運行資訊記錄該等訓練模組之間的一模組關聯關係,該訓練裝置更用於根據該等訓練模組之間的該模組關聯關係建構一訓練管道流程;其中依據該訓練管道流程,該等訓練模組的該等訓練程式代碼被依序或並行地執行,以產生該等訓練模組的該等已訓練模型與該等已訓練資料。According to yet another embodiment, wherein the training operation information records the training modules to be trained, and the training operation information records a module association relationship between the training modules, the training device is further configured to The module association relationship between the training modules constructs a training pipeline process; wherein according to the training pipeline process, the training program codes of the training modules are executed sequentially or in parallel to generate the training modules the trained models and the trained data of the group.

依據又一實施例,其中該訓練運行資訊更記錄該訓練模組所需使用之其他該等訓練模組之至少一者的至少一執行結果,且該訓練模組的該訓練程式代碼的建立亦關聯於該訓練模組所需使用之該其他訓練模組的該執行結果。According to yet another embodiment, the training operation information further records at least one execution result of at least one of the other training modules required by the training module, and the creation of the training program code of the training module is also The execution result of the other training modules that the training module needs to use.

依據又一實施例,其中該輸入資訊為一使用者資訊、一使用者行為歷史資訊、一服務頁面資訊與一裝置資訊的至少一者。According to yet another embodiment, the input information is at least one of a user information, a user behavior history information, a service page information and a device information.

依據又一實施例,該項目推薦裝置更包括該訓練模組配置庫,訊號連接該訓練裝置;以及該原始數據資料庫,訊號連接該訓練裝置。According to another embodiment, the item recommendation device further includes the training module configuration library, which is connected to the training device by signals; and the original data database, which is connected to the training device by signals.

綜合上述實施例之技術特徵,本新型的項目推薦裝置可具體具有以下技術功效:藉由將每一種推薦演算法模組化,並分別產生各個運行模組的已訓練資料及/或模型,因此當需要演算法運行時,可經由控制組態配置而從已訓練資料及/或模型中挑選並組合回成所需的演算法,節省大量演算法開發時程及演算法調整試驗循環時間。Combining the technical features of the above-mentioned embodiments, the project recommendation device of the present invention can specifically have the following technical effects: by modularizing each recommendation algorithm, and respectively generating the trained data and/or models of each operating module, therefore When the algorithm needs to be run, it can be selected from the trained data and/or model and combined into the required algorithm through the control configuration configuration, which saves a lot of algorithm development time and algorithm adjustment test cycle time.

為更具體說明本新型實施方式,以下輔以附圖進行說明。In order to describe the embodiments of the present invention more concretely, the following description is supplemented with the accompanying drawings.

當使用者正在瀏覽網站之服務頁面的服務頁面資訊,且服務頁面規劃有推薦版位以呈現推薦項目時,即出現透過推薦演算法而輸出該推薦項目的需求,以期能在瀏覽過程中提供給使用者,並藉此引導使用者進一步察看所推薦的項目。舉例而言,可能的情形是,使用者透過如手機或電腦的使用者裝置進入購物網站,並瀏覽購物網站中商品的介紹頁面,此時,推薦版位可能為,例如,相關商品推薦版位、買了又買推薦版位、搭配購買商品推薦版位、根據瀏覽歷程推薦版位、熱門商品推薦版位、同店家商品推薦版位等各種與購買行為相關的推薦版位,並透過這樣的方式將推薦項目呈現給使用者。而本新型的技術即為在因推薦版位而出現推薦演算法需求時,利用組合方式產生演算法的項目推薦裝置。When the user is browsing the service page information of the service page of the website, and the service page is planned to have a recommended position to present the recommended item, there is a need to output the recommended item through the recommendation algorithm, so as to provide the recommended item during the browsing process. user, and guide the user to further view the recommended items. For example, it may be that the user enters the shopping website through a user device such as a mobile phone or a computer, and browses the introduction page of the product in the shopping website. At this time, the recommended site may be, for example, the recommended site for related products , Bought and bought recommended spots, recommended spots with purchased products, recommended spots based on browsing history, recommended spots of popular products, recommended spots of products from the same store and other recommended spots related to purchasing behavior, and through such way to present the recommended items to the user. The novel technology is an item recommendation device that generates an algorithm by a combination method when a recommendation algorithm is required due to the recommended placement.

請參照圖1,其顯示本新型一實施例之一使用組合演算法的項目推薦裝置。本新型之使用組合演算法的項目推薦裝置100包括前端裝置101、運行裝置102、演算法運行配置庫103以及資料與模型資料庫104。在其他實施例中,演算法運行配置庫103以及資料與模型資料庫104可以是項目推薦裝置100的外部元件,即實現項目推薦裝置100的最少元件為前端裝置101、運行裝置101與運行裝置102。Please refer to FIG. 1 , which shows an item recommendation apparatus using a combinatorial algorithm according to an embodiment of the present invention. The project recommendation device 100 using a combination algorithm of the present invention includes a front-end device 101 , an operation device 102 , an algorithm operation configuration library 103 , and a data and model database 104 . In other embodiments, the algorithm operation configuration library 103 and the data and model database 104 may be external components of the project recommendation device 100 , that is, the minimum components to implement the project recommendation device 100 are the front-end device 101 , the operation device 101 and the operation device 102 .

前端裝置101係用以接收推薦演算法需求與輸入資訊。推薦演算法需求如上所述係於需要執行推薦演算法以呈現至少一推薦項目時出現,而輸入資訊則包括執行推薦演算法所需要的必要資訊。The front-end device 101 is used for receiving recommendation algorithm requirements and input information. The recommendation algorithm requirement as described above occurs when the recommendation algorithm needs to be executed to present at least one recommended item, and the input information includes necessary information required to execute the recommendation algorithm.

輸入資訊可實施為使用者資訊、使用者行為歷史資訊、服務頁面資訊及/或裝置資訊。例如,使用者資訊可為如興趣、年齡、種族、職業、會員等級、綁定的信用卡等資訊;使用者行為歷史資訊可為如歷史消費金額、上網時段、上網時長、曾購買商品、廣告點擊習慣、點擊廣告類型、習慣使用之使用者裝置種類、瀏覽網頁時手持裝置的擺設方向等資訊;服務頁面資訊可為如購物網站的商品介紹內容、入口網站的資訊提供內容等資訊;而裝置資訊則可為如使用者使用的手機型號、電腦型號等,以瞭解作業系統、瀏覽器種類、螢幕尺寸、解析度等各種資訊。Input information may be implemented as user information, user behavior history information, service page information, and/or device information. For example, user information can be information such as interest, age, race, occupation, membership level, and bound credit card; user behavior history information can be information such as historical consumption amount, Internet time, Internet time, purchased products, advertisements, etc. Information such as click habits, click advertisement types, types of user devices habitually used, orientation of handheld devices when browsing web pages, etc.; service page information can be information such as product introduction content on shopping sites, information provided on portal sites, etc.; The information can be, for example, the mobile phone model and computer model used by the user, so as to know various information such as operating system, browser type, screen size, and resolution.

運行裝置102係根據推薦演算法需求而自演算法運行配置庫103獲取演算法運行資訊,而演算法運行資訊則記錄有要被運行的運行模組,其中運行模組的數量可因需求不同而為一或多,不受限制。The running device 102 obtains algorithm running information from the algorithm running configuration library 103 according to the requirements of the recommended algorithm, and the algorithm running information records the running modules to be run, wherein the number of running modules can be changed according to different requirements. One or more, unlimited.

資料與模型資料庫104中係儲存有多個已訓練資料與多個已訓練模型,而運行裝置102則根據演算法運行資訊而自資料與模型資料庫104中選取運行模組的至少一已訓練模型與至少一已訓練資料,並取得至少一運行參數,以藉此建立運行模組的運行程式代碼。The data and model database 104 stores a plurality of trained data and a plurality of trained models, and the running device 102 selects at least one trained model of the running module from the data and model database 104 according to the algorithm running information The model and at least one trained data are obtained, and at least one running parameter is obtained, thereby establishing the running program code of the running module.

之後,運行裝置102係基於輸入資訊而執行運行模組的運行程式代碼,以產生至少一推薦項目,並將至少一推薦項目傳送給前端裝置101。Afterwards, the running device 102 executes the running program code of the running module based on the input information to generate at least one recommended item, and transmit the at least one recommended item to the front-end device 101 .

其中該演算法運行資訊係包括要被運行之運行模組的運行程式資訊、運行參數資訊、已訓練資料資訊、輸出資料資訊與輸出資料格式資訊;另外,當實施為多個運行模組時,演算法運行資訊還會包括多個運行模組之間的一模組關聯關係。The algorithm operation information includes operation program information, operation parameter information, trained data information, output data information and output data format information of the operation module to be run; in addition, when implemented as multiple operation modules, The algorithm operation information also includes a module association relationship among the plurality of operation modules.

據此,運行裝置102係會進一步根據多個運行模組之間的模組關聯關係而建構運行管道流程(serving pipeline),而多個運行模組的等運行程式代碼則會依據運行管道流程而被依序或並行地執行,以產生至少一推薦項目。Accordingly, the running device 102 further constructs a serving pipeline according to the module association relationship among the plurality of running modules, and the iso-running program codes of the plurality of running modules are generated according to the running pipeline process. are executed sequentially or in parallel to generate at least one recommended item.

例如,一種可能情形是,每個運行模組彼此間無任何依賴關係,此時每個運行模組可獨立執行完成,故可選擇並行或依序執行的方式。另外的可能情形是,其中一個運行模組所需之輸入資訊的其中一或多係為其他一或多個運行模組執行完運行結果後而產生的輸出資料,此時運行模組即必須等待其他運行模組執行完後才能執行,故需採依序執行的方式。例如,當服務頁面資訊為商品iphone 11時,若欲提供「看了也看」推薦版位,則推薦演算法的運行管線流程會是,先從已訓練資料「根據點擊行為產生的商品的向量表示」開始,利用向量的KNN演算法,輸出結果為iphone 11之100個最相似商品,再依據已訓練資料「使用者最近14天購買過商品」對100個最相似商品進行進一步篩選,得到輸出結果為少於100個商品,最後使用已訓練模型「基於使用者點擊行為的個人化深度學習排序」,對上述少於100個商品進行排序,以取出最適合的10個商品推薦項目;另外,若選擇「看了也買」推薦演算法,其執行管線流程則與上述「看了也看」類似,只需將最後使用的已訓練模組變更為已訓練模組「基於使用者購買行為的個人化深度學習排序」即可。For example, a possible situation is that each running module does not have any dependency on each other, and in this case, each running module can be executed independently, so parallel or sequential execution can be selected. Another possible situation is that one or more of the input information required by one of the running modules is the output data generated by the other one or more running modules after executing the running results. In this case, the running module must wait for It can only be executed after other running modules are executed, so it needs to be executed in sequence. For example, when the information on the service page is the product iphone 11, if you want to provide a "look and see" recommended location, the operation pipeline process of the recommendation algorithm will be, first from the trained data "the vector of the product generated according to the click behavior" Start with "representation", use the vector KNN algorithm, the output result is the 100 most similar products of iphone 11, and then further filter the 100 most similar products based on the trained data "the user has purchased products in the last 14 days", and get the output The result is less than 100 products. Finally, the trained model "Personalized Deep Learning Sorting Based on User Click Behavior" is used to sort the above-mentioned less than 100 products to select the most suitable 10 product recommendation items; in addition, If you choose the "see and buy" recommendation algorithm, the execution pipeline process is similar to the above "see and see", you only need to change the last used trained module to the trained module "based on the user's purchase behavior" Personalized Deep Learning Ranking".

據此,演算法運行資訊還會進一步記錄運行模組所需使用之其他運行模組之至少一者的至少一執行結果,且運行模組的運行程式代碼的建立亦關聯於運行模組所需使用之其他運行模組的執行結果。Accordingly, the algorithm operation information will further record at least one execution result of at least one of the other operation modules used by the operation module, and the creation of the operation program code of the operation module is also related to the operation module required by the operation module. The execution results of other running modules used.

接著,請參閱圖2,其顯示根據本新型另一實施例之一使用組合演算法的項目推薦裝置,在此實施例中,與圖1不同的是,使用組合演算法的項目推薦裝置100還進一步包括訓練裝置201、訓練模組配置庫202以及原始數據資料庫203。Next, please refer to FIG. 2 , which shows an item recommendation apparatus using a combination algorithm according to another embodiment of the present invention. In this embodiment, different from FIG. 1 , the item recommendation apparatus 100 using the combination algorithm also further It further includes a training device 201 , a training module configuration library 202 and a raw data database 203 .

如上所述,資料與模型資料庫104中儲存有多個已訓練資料與多個已訓練模型,以供運行裝置使用,而訓練裝置201即用以產生已訓練資料與已訓練模型。As described above, the data and model database 104 stores a plurality of trained data and a plurality of trained models for use by the operating device, and the training device 201 is used to generate the trained data and the trained models.

首先,訓練裝置201依據訓練運行資訊,自訓練模組配置庫202取得訓練模組資訊,而訓練運行資訊則記錄有要被訓練的訓練模組,其中訓練模組的數量可因需求不同而為一或多,不受限制。First, the training device 201 obtains the training module information from the training module configuration library 202 according to the training operation information, and the training operation information records the training modules to be trained, wherein the number of the training modules can be changed according to different requirements One or more, unlimited.

接著,根據訓練模組的訓練模組資訊,訓練裝置201自原始數據資料庫203獲取訓練模組之待訓練模型、訓練參數與所需求的訓練輸入資料,並據以產生訓練模組的訓練程式代碼。Next, according to the training module information of the training module, the training device 201 obtains the model to be trained, the training parameters and the required training input data of the training module from the original data database 203, and generates the training program of the training module accordingly. code.

其中,訓練輸入資訊可包括但不限於,例如,商品資料、商品詞庫、商品分類資訊、訂單資訊、使用者行為資訊,如點擊、瀏覽、加入購物車、購買等。The training input information may include, but is not limited to, for example, commodity information, commodity thesaurus, commodity classification information, order information, and user behavior information, such as click, browse, add to shopping cart, and purchase.

之後,訓練裝置201執行訓練模組的訓練程式代碼,以產生訓練模組的已訓練模型與已訓練資料,並傳送至資料與模型資料庫202儲存。Afterwards, the training device 201 executes the training program code of the training module to generate the trained model and the trained data of the training module, and sends them to the data and model database 202 for storage.

當有多個訓練模組時,訓練運行資訊還會進一步記錄多個訓練模組之間的模組關聯關係,且訓練裝置會根據多個訓練模組之間的模組關聯關而建構訓練管道流程(training pipeline),而多個訓練模組的等訓練程式代碼則會依據訓練管道流程而被依序或並行地執行,以產生多個訓練模組的多個已訓練模型與多個已訓練資料。例如,一種可能情形是,每個訓練模組彼此間無任何依賴關係,此時每個訓練模組可獨立執行完成,故可選擇並行或依序執行。另外可能的情形是,其中一個訓練模組所需之輸入資料的其中一或多係為其他訓練模組執行完訓練結果後而產生的已訓練資料或模型,此時訓練模組則必須等待其他訓練模組執行完後才能執行。When there are multiple training modules, the training operation information will further record the module association relationship between the multiple training modules, and the training device will construct a training pipeline according to the module association relationship between the multiple training modules training pipeline, and the training program codes of multiple training modules are executed sequentially or in parallel according to the training pipeline process, so as to generate multiple trained models and multiple trained models of multiple training modules material. For example, a possible situation is that each training module does not have any dependency on each other. In this case, each training module can be executed independently, so parallel or sequential execution can be selected. Another possibility is that one or more of the input data required by one of the training modules are already trained data or models generated after the other training modules execute the training results. In this case, the training module has to wait for other training modules. It can only be executed after the training module is executed.

據此,訓練運行資訊還會進一步記錄訓練模組所需使用之其他多個訓練模組之至少一者的至少一執行結果,且訓練模組的訓練程式代碼的建立亦關聯於訓練模組所需使用之其他訓練模組的執行結果。Accordingly, the training operation information will further record at least one execution result of at least one of the other training modules required by the training module, and the establishment of the training program code of the training module is also associated with the training module. Execution results of other training modules to be used.

在此,多個已訓練資料可包含但不限於,例如,根據點擊行為產生的商品的向量表示、根據購買行為產生的向量表示、依據消費者行為產生的消費者向量表示、每個使用者最近14天購買過商品、於某類別在某區段時間的熱銷商品統計資料、某類別的每個商品折扣比例、某種商品的相似商品排行、某搜尋字串的相關商品排行等,沒有限制。另外,多個已訓練模型可包含但不限於,例如, 基於內容、協同過濾、基於關聯規則、基於效用、基於知識、基於深度學習、組合推薦等模型,已訓練模型的種類與類型同樣沒有限制本新型。Here, the plurality of training data may include, but are not limited to, for example, vector representations of commodities generated according to click behaviors, vector representations generated according to purchase behaviors, consumer vector representations generated according to consumer behaviors, Purchased products in 14 days, statistics of hot-selling products in a certain category in a certain period of time, discount ratio of each product in a certain category, ranking of similar products of a certain product, ranking of related products in a search string, etc., without limitation . In addition, multiple trained models may include, but are not limited to, for example, content-based, collaborative filtering, association rule-based, utility-based, knowledge-based, deep learning-based, combined recommendation and other models, and the types and types of trained models are also not limited This new type.

需注意地,上述的訓練係實施為有訓練需求時才會執行,並非為必要的程序,另外,訓練運行資訊的提出則有不同的實施選擇,例如,可由運行裝置101提出,可由人為下達指令,或可藉由排程而自動執行,如每日一次、每週一次、某事件發生時等,有各種可能。It should be noted that the above-mentioned training system is implemented only when there is a training requirement, and is not a necessary program. In addition, there are different implementation options for the proposal of the training operation information. , or can be executed automatically by scheduling, such as once a day, once a week, when an event occurs, etc. There are various possibilities.

綜上所述,本新型透過將演算法模組化並分別產生已訓練資料與模型的方式,而能在推薦演算法需求有所改變時,經由控制組態配置組合出符合所需的演算法,進而產生所需的推薦項目,不但能達到迅速因應的目的,亦因此讓時間及人力資源的應用能更具效率,是極具優勢的內容。To sum up, the present invention, by modularizing the algorithm and generating the trained data and model separately, can combine the required algorithm through the control configuration when the requirements of the recommended algorithm change. , and then generate the required recommended items, which can not only achieve the purpose of rapid response, but also make the application of time and human resources more efficient, which is a very advantageous content.

本新型在本文中僅以較佳實施例揭露,然任何熟習本技術領域者應能理解的是,上述實施例僅用於描述本新型,並非用以限制本新型所主張之專利權利範圍。舉凡與上述實施例均等或等效之變化或置換,皆應解讀為涵蓋於本新型之精神或範疇內。因此,本新型之保護範圍應以下述之申請專利範圍所界定者為準。The present invention is only disclosed in preferred embodiments herein. However, any person skilled in the art should understand that the above-mentioned embodiments are only used to describe the present invention and are not intended to limit the scope of the claimed patent rights of the present invention. All changes or substitutions that are equal or equivalent to the above embodiments should be construed as being covered within the spirit or scope of the present invention. Therefore, the protection scope of this new model shall be defined by the following patent application scope.

100:項目推薦裝置 101:前端裝置 102:運行裝置 103:演算法運行配置庫 104:資料與模型資料庫 201:訓練裝置 202:訓練模組配置庫 203:原始數據資料庫100: Project Recommendation Device 101: Front-end device 102: Running device 103: Algorithm Run Configuration Library 104: Data and Model Database 201: Training Device 202: Training module configuration library 203: Raw Data Repository

為讓本新型之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附附圖之說明如下: 圖1所繪為根據本新型一實施例之一使用組合演算法的項目推薦裝置的一示意圖。 圖2所繪為根據本新型一另一實施例之一使用組合演算法的項目推薦裝置的一示意圖。 In order to make the above-mentioned and other objects, features, advantages and embodiments of the present invention more clearly understood, the accompanying drawings are described as follows: FIG. 1 is a schematic diagram of an item recommendation apparatus using a combination algorithm according to an embodiment of the present invention. FIG. 2 is a schematic diagram of an item recommendation apparatus using a combination algorithm according to another embodiment of the present invention.

100:項目推薦裝置 100: Project Recommendation Device

101:前端裝置 101: Front-end device

102:運行裝置 102: Running device

103:演算法運行配置庫 103: Algorithm Run Configuration Library

104:資料與模型資料庫 104: Data and Model Database

Claims (10)

一種使用組合演算法的項目推薦裝置,係根據接收的一推薦演算法需求與一輸入資訊,輸出至少一推薦項目,該項目推薦裝置包括: 一前端裝置,用於接收該推薦演算法需求與該輸入資訊,其中該輸入資訊包括執行該推薦演算法需求之一推薦演算法所需要的一必要資訊;以及 一運行裝置,訊號連接該前端裝置,並用於執行: 根據該推薦演算法需求自一演算法運行配置庫獲取一演算法運行資訊,其中該演算法運行資訊記錄要被運行的一個或多個運行模組; 自一資料與模型資料庫,根據該演算法運行資訊選取該運行模組的至少一已訓練模型與至少一已訓練資料,並取得至少一運行參數,以藉此建立該運行模組的一運行程式代碼,其中該資料與模型資料庫儲存有多個已訓練資料與多個已訓練模型;以及 基於該輸入資訊執行該運行模組的該運行程式代碼,以產生該至少一推薦項目,並將該至少一推薦項目傳送給該前端裝置。 An item recommendation device using a combination algorithm, which outputs at least one recommended item according to a received recommendation algorithm requirement and an input information, and the item recommendation device includes: a front-end device for receiving the recommendation algorithm requirement and the input information, wherein the input information includes a necessary information required to execute a recommendation algorithm required by the recommendation algorithm requirement; and A running device, the signal is connected to the front-end device, and is used to execute: Obtaining algorithm operation information from an algorithm operation configuration library according to the recommendation algorithm requirements, wherein the algorithm operation information records one or more operation modules to be executed; From a data and model database, select at least one trained model and at least one trained data of the operation module according to the algorithm operation information, and obtain at least one operation parameter, thereby establishing an operation of the operation module program code, wherein the data and model database stores a plurality of trained data and a plurality of trained models; and Execute the running program code of the running module based on the input information to generate the at least one recommended item, and transmit the at least one recommended item to the front-end device. 如請求項1所述之項目推薦裝置,其中該演算法運行資訊記錄要被運行的該等運行模組,且該運行裝置更用於執行: 根據該等運行模組之間的一模組關聯關係建構一運行管道流程; 其中依據該運行管道流程,該等運行模組的該等運行程式代碼被依序或並行地執行,以產生該至少一推薦項目。 The project recommendation device of claim 1, wherein the algorithm operation information records the operation modules to be executed, and the operation device is further configured to execute: constructing a running pipeline process according to a module association relationship between the running modules; Wherein, according to the running pipeline process, the running program codes of the running modules are executed sequentially or in parallel to generate the at least one recommended item. 如請求項2所述之項目推薦裝置,其中該演算法運行資訊包括要被運行的該等運行模組每一者的一運行程式資訊、一運行參數資訊、一已訓練資料資訊、一輸出資料資訊與一輸出資料格式資訊,以及包括該等運行模組之間的一模組關聯關係。The project recommendation device of claim 2, wherein the algorithm operation information includes an operation program information, an operation parameter information, a trained data information, an output data of each of the operation modules to be executed Information and an output data format information, and including a module association between the running modules. 如請求項2所述之項目推薦裝置,其中該演算法運行資訊更記錄該運行模組所需使用之其他該等運行模組之至少一者的至少一執行結果,且該運行模組的該運行程式代碼的建立亦關聯於該運行模組所需使用之該其他運行模組的該執行結果。The project recommendation device as claimed in claim 2, wherein the algorithm operation information further records at least one execution result of at least one of the other operation modules required by the operation module, and the operation module's The creation of the running program code is also associated with the execution result of the other running modules that the running module needs to use. 如請求項2所述之項目推薦裝置,更包括: 該資料與模型資料庫,訊號連接該運行裝置;以及 該演算法運行配置庫,訊號連接該運行裝置。 The item recommendation device according to claim 2, further comprising: the data and model database, the signal is connected to the running device; and The algorithm runs the configuration library, and the signal is connected to the running device. 如請求項2所述之項目推薦裝置,更包括: 一訓練裝置,用於執行: 依據一訓練運行資訊,自一訓練模組配置庫取得一個或多個訓練模組資訊,其中該訓練運行資訊記錄要被訓練的一或多個訓練模組; 根據該訓練模組資訊自一原始數據資料庫獲取該訓練模組之一待訓練模型、一訓練參數與所需求的一訓練輸入資料,並據此產生該訓練模組的一訓練程式代碼;以及 執行該訓練模組的該訓練程式代碼,以產生該訓練模組的一已訓練模型與一已訓練資料給該資料與模型資料庫儲存。 The item recommendation device according to claim 2, further comprising: a training device for performing: obtaining one or more training module information from a training module configuration library according to a training operation information, wherein the training operation information records one or more training modules to be trained; Obtain a model to be trained, a training parameter and a required training input data of the training module from an original data database according to the training module information, and generate a training program code of the training module accordingly; and The training program code of the training module is executed to generate a trained model of the training module and a trained data for storage in the data and model database. 如請求項6所述之項目推薦裝置,其中該訓練運行資訊記錄要被訓練的該等訓練模組,且該訓練運行資訊記錄該等訓練模組之間的一模組關聯關係,該訓練裝置更用於執行: 根據該等訓練模組之間的該模組關聯關係建構一訓練管道流程; 其中依據該訓練管道流程,該等訓練模組的該等訓練程式代碼被依序或並行地執行,以產生該等訓練模組的該等已訓練模型與該等已訓練資料。 The item recommendation device according to claim 6, wherein the training operation information records the training modules to be trained, and the training operation information records a module association relationship between the training modules, the training device More for execution: constructing a training pipeline process according to the module association between the training modules; Wherein, according to the training pipeline process, the training program codes of the training modules are executed sequentially or in parallel to generate the trained models and the trained data of the training modules. 如請求項7所述之項目推薦裝置,其中該訓練運行資訊更記錄該訓練模組所需使用之其他該等訓練模組之至少一者的至少一執行結果,且該訓練模組的該訓練程式代碼的建立亦關聯於該訓練模組所需使用之該其他訓練模組的該執行結果。The item recommendation device according to claim 7, wherein the training operation information further records at least one execution result of at least one of the other training modules required by the training module, and the training of the training module The creation of program code is also associated with the execution results of the other training modules that the training module needs to use. 如請求項1所述之項目推薦裝置,其中該輸入資訊為一使用者資訊、一使用者行為歷史資訊、一服務頁面資訊與一裝置資訊的至少一者。The item recommendation device according to claim 1, wherein the input information is at least one of a user information, a user behavior history information, a service page information and a device information. 如請求項6所述之項目推薦裝置,更包括: 該訓練模組配置庫,訊號連接該訓練裝置;以及 該原始數據資料庫,訊號連接該訓練裝置。 The item recommendation device as described in claim 6, further comprising: the training module configuration library, the signal is connected to the training device; and The original data database, the signal is connected to the training device.
TW110211279U 2021-09-24 2021-09-24 Item Recommendation Device Using Combinatorial Algorithm TWM625395U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110211279U TWM625395U (en) 2021-09-24 2021-09-24 Item Recommendation Device Using Combinatorial Algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110211279U TWM625395U (en) 2021-09-24 2021-09-24 Item Recommendation Device Using Combinatorial Algorithm

Publications (1)

Publication Number Publication Date
TWM625395U true TWM625395U (en) 2022-04-11

Family

ID=82197921

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110211279U TWM625395U (en) 2021-09-24 2021-09-24 Item Recommendation Device Using Combinatorial Algorithm

Country Status (1)

Country Link
TW (1) TWM625395U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI824700B (en) * 2022-09-06 2023-12-01 中華電信股份有限公司 An automated machine learning system, method and computer readable medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI824700B (en) * 2022-09-06 2023-12-01 中華電信股份有限公司 An automated machine learning system, method and computer readable medium thereof

Similar Documents

Publication Publication Date Title
CN109509054B (en) Commodity recommendation method under mass data, electronic device and storage medium
CN107622427B (en) Deep learning method, device and system
US10409821B2 (en) Search result ranking using machine learning
US20190243860A1 (en) Personalized landing pages
CN111242729A (en) Serialization recommendation method based on long-term and short-term interests
US20150066586A1 (en) Evaluation calculating device, evaluation calculating method, and recording medium
US8655737B1 (en) Brand name synonymy
CN102479366A (en) Commodity recommending method and system
CN105718184A (en) Data processing method and apparatus
CN112559896B (en) Information recommendation method, device, equipment and computer readable storage medium
CN104050568A (en) Method and system for commodity picture displaying
CN103034680B (en) For data interactive method and the device of terminal device
CN110276495A (en) Commercial articles ordering method, apparatus, computer and storage medium based on artificial intelligence
CN103020128B (en) With the method and apparatus of data interaction with terminal device
CN113781149B (en) Information recommendation method and device, computer readable storage medium and electronic equipment
CN109840788A (en) For analyzing the method and device of user behavior data
CN107741967A (en) Method, apparatus and electronic equipment for behavioral data processing
CN111461801A (en) Page generation method and device
TWM625395U (en) Item Recommendation Device Using Combinatorial Algorithm
CN110930223A (en) Recommendation recall method, device and storage medium based on field-aware factorization machine
Wan et al. What's next for shopbots?
JP6887900B2 (en) Information processing equipment, information processing methods, and programs
JP6810184B2 (en) Calculation device, calculation method and calculation program
JP6698041B2 (en) Information processing apparatus, method and program
JP2020154841A (en) Determination device, determination method, and determination program