Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»DaRec: A Novel Plug-and-Play Alignment Framework for LLMs and Collaborative Models

    DaRec: A Novel Plug-and-Play Alignment Framework for LLMs and Collaborative Models

    August 22, 2024

    Recommender systems have gained prominence across various applications, with deep neural network-based algorithms showing impressive capabilities. Large language models (LLMs) have recently demonstrated proficiency in multiple tasks, prompting researchers to explore their potential in recommendation systems. However, two main challenges hinder LLM adoption: high computational requirements and neglect of collaborative signals. Recent studies have focused on semantic alignment methods to transfer knowledge from LLMs to collaborative models. Yet, a significant semantic gap persists due to the diverse nature of interaction data in collaborative models compared to the natural language used in LLMs. Attempts to bridge this gap through contrastive learning have shown limitations, potentially introducing noise and degrading recommendation performance.

    Graph Neural Networks (GNNs) have gained prominence in recommender systems, particularly for collaborative filtering. Methods like LightGCN, NGCF, and GCCF use GNNs to model user-item interactions but face challenges from noisy implicit feedback. To mitigate this, self-supervised learning techniques such as contrastive learning have been employed, with approaches like SGL, LightGCL, and NCL showing improved robustness and performance. LLMs have sparked interest in recommendations, with researchers exploring ways to integrate their powerful representation abilities. Studies like RLMRec, ControlRec, and CTRL use contrastive learning to align collaborative filtering embeddings with LLM semantic representations.

    Researchers from the National University of Defense Technology, Changsha, Baidu Inc, Beijing, and Anhui Province Key Laboratory of the University of Science and Technology of China introduced a Disentangled alignment framework for the Recommendation model and LLMs (DaRec), a unique plug-and-play framework, addresses limitations in integrating LLMs with recommender systems. Motivated by theoretical findings, it aligns semantic knowledge through disentangled representation instead of exact alignment. The framework consists of three key components: (1) disentangling representations into shared and specific components to reduce noise, (2) employing uniformity and orthogonal loss to maintain representation informativeness, and (3) implementing a structural alignment strategy at local and global levels for effective semantic knowledge transfer. 

    DaRec is an innovative framework to align semantic knowledge between LLMs and collaborative models in recommender systems. This approach is motivated by theoretical findings suggesting that the exact alignment of representations may be suboptimal. DaRec consists of three main components:

    Representation Disentanglement: The framework separates representations into shared and specific components for collaborative models and LLMs. This reduces the negative impact of specific information that may introduce noise during alignment.

    Uniformity and Orthogonal Constraints: DaRec employs uniformity and orthogonal loss functions to maintain the informativeness of representations and ensure unique, complementary information in specific and shared components.

    Structure Alignment Strategy: The framework implements a dual-level alignment approach:

    Global Structure Alignment: Aligns the overall structure of shared representations.

    Local Structure Alignment: It uses clustering to identify preference centres and aligns them adaptively.

    DaRec aims to overcome the limitations of previous methods by providing a more flexible and effective alignment strategy, potentially improving the performance of LLM-based recommender systems.

    DaRec outperformed both traditional collaborative filtering methods and LLM-enhanced recommendation approaches across three datasets (Amazon-book, Yelp, Steam) on multiple metrics (Recall@K, NDCG@K). For instance, on the Yelp dataset, DaRec improved over the second-best method (AutoCF) by 3.85%, 1.57%, 3.15%, and 2.07% on R@5, R@10, N@5, and N@10 respectively.

    Hyperparameter analysis revealed optimal performance with cluster number K in the range [4,8], trade-off parameter λ in the range [0.1, 1.0], and sampling size N̂ at 4096. Extreme values for these parameters led to decreased performance.

    t-SNE visualization demonstrated that DaRec successfully captured underlying interest clusters in user preferences.

    Overall, DaRec showed superior performance over existing methods, demonstrating robustness across various hyperparameter values and effectively capturing user interest structures.

    This research introduces DaRec, a unique plug-and-play framework for aligning collaborative models and LLMs in recommender systems. Based on theoretical analysis showing that zero-gap alignment may not be optimal, DaRec disentangles representations into shared and specific components. It implements a dual-level structure alignment strategy at global and local levels. The authors provide theoretical proof that their method produces representations with more relevant and less irrelevant information for recommendation tasks. Extensive experiments on benchmark datasets demonstrate DaRec’s superior performance over existing methods, representing a significant advancement in integrating LLMs with collaborative filtering models.

    Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. If you like our work, you will love our newsletter..

    Don’t Forget to join our 49k+ ML SubReddit

    Find Upcoming AI Webinars here

    The post DaRec: A Novel Plug-and-Play Alignment Framework for LLMs and Collaborative Models appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleIntegrating RPA and AI for Intelligent Process Automation
    Next Article Tinygrad: A Simplified Deep Learning Framework for Hardware Experimentation

    Related Posts

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-40906 – MongoDB BSON Serialization BSON::XS Multiple Vulnerabilities

    May 17, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-4818 – SourceCodester Doctor’s Appointment System SQL Injection

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    AI & politics: Elon Musk shares AI video of Kamala Harris

    Artificial Intelligence

    Las 4 razones principales para usar MongoDB 8.0

    Databases

    This AI Paper Introduces KernelSHAP-IQ: Weighted Least Square Optimization for Shapley Interactions

    Development

    Windows 11 Canary Build 27774 introduces a new way to enable Administrator protection

    Operating Systems

    Highlights

    Getting error when I run my test using mocha

    June 5, 2024

    I have written a code where it will launch the app, click on the login button, enter username and password and click on sign in.

    When I run this using node ‘filename’ it is running fine with no issue.

    When I run using mocha node_modules/mocha/bin/mocha ‘filename’ I am getting the error I am not able to understand as to why?

    This is the error that I am getting:

    2019-01-02T06:52:42.721Z DEBUG wdio-config: wdio-sync not found, running tests asynchronous

    /home/user/newtest/node_modules/webdriverio/src/utils.js:199
    (typeof caps[‘appium-version’] !== ‘undefined’) ||
    ^
    TypeError: Cannot read property ‘appium-version’ of undefined
    at mobileDetector (/home/user/newtest/node_modules/webdriverio/src/utils.js:199:21)
    at Object.remote (/home/user/newtest/node_modules/webdriverio/src/index.js:35:29)
    at Object.<anonymous> (/home/user/newtest/test13.js:16:21)
    at Module._compile (internal/modules/cjs/loader.js:723:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Module.require (internal/modules/cjs/loader.js:659:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at /home/user/newtest/node_modules/mocha/lib/mocha.js:250:27
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (/home/user/newtest/node_modules/mocha/lib/mocha.js:247:14)
    at Mocha.run (/home/user/newtest/node_modules/mocha/lib/mocha.js:576:10)
    at Object.<anonymous> (/home/user/newtest/node_modules/mocha/bin/_mocha:637:18)
    at Module._compile (internal/modules/cjs/loader.js:723:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:776:12)
    at executeUserCode (internal/bootstrap/node.js:342:17)
    at startExecution (internal/bootstrap/node.js:276:5)
    at startup (internal/bootstrap/node.js:227:5)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

    Uno Calculator – port of Windows calculator

    January 15, 2025

    Everyone’s an Expert: How to Empower Your Employees for Cybersecurity Success

    May 1, 2024

    I’ve had a ton of fun playing Skin Deep, but I hope the developers fix the game’s crashing problems

    April 28, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.