Mind Theory Singapore > Articles > Stable Diffusion Automatic1111 LoRA + ControlNet

Stable Diffusion Automatic1111 LoRA + ControlNet

In the realm of Generative AI, “LoRA” typically refers to Latent Optimisation for Reinforcement Learning with Advantage Estimates. LoRA is a novel approach that combines the power of reinforcement learning with latent variable models, aiming to enhance sample efficiency and performance in complex environments. It leverages latent variables to capture underlying structures, allowing the model to learn effectively from limited data.

Example of LoRA of Hedge Sculpture


LoRA optimizes these latent variables to maximize expected rewards, utilizing advantage estimates to guide the optimization process. This technique holds promise for addressing challenges in reinforcement learning tasks by efficiently exploring the latent space of possible solutions.

Mind Theory, as a Learning Centre immersed in cutting-edge technologies, integrating generative AI in educational content creation promises an exciting future. The fusion of creativity and artificial intelligence opens doors to a new era of personalized and effective learning.

LoRA Panel in SD Automatic1111


Efforts of Stability AI and Huggingface have enabled many individuals to refine diffusion models to suit their requirements, yielding superior image fidelity. Despite these advancements, the refinement process is slow, posing challenges in balancing iteration count with result quality.

Moreover, the resultant fully refined model is excessively large. Some opt for textual inversion as an alternative, albeit sub-optimal due to its limited word embedding and inferior image quality.

Enter Efficient Fine-tuning methods in the realm of Large Language Models (LLMs). LoRA, in particular, addresses a pressing issue: the unwieldy size of community-created fine-tuned models, hindering their accessibility and usability for end users of Open-sourced stable diffusion models.

Controlnet Softedge HED




This method is useful if you wish to input a product image. Once we feed it into the workflow, and choose our LoRA  (in this case, a crystal style aesthetic.) It is able to generate out closely based on the reference.

Now, lets try using a computer mouse.


The generated output closely mirrors the reference input photo, in terms of angle and shape of object.

Other Examples


Main Features

  • Fine-tune Stable diffusion models twice as fast than dreambooth method, by Low-rank Adaptation
  • Small Files (1MB ~ 300MB), easy to share and download.
  • Support for inpainting
  • Merge checkpoints + Build recipes by merging LoRAs together

We hope this article helps you understand Controlnet+LoRA better, in the Stable Diffusion Automatic1111 workflow.


Mind Theory Singapore provides Stable Diffusion courses for corporate, tertiary & institutional teams. We are the only course provider in Singapore to teach SD A1111. Corporate Group Bookings available. Click here to view the program details.
If you like us to implement AI workflows in your organisation, do contact us for a consultation.

Contact us at info@mindtheory.sg for more information.

Previous post Generative AI Visuals | ComfyUI Stable Diffusion ControlNet Next post 5 Day – Roblox Coding Camp For Kids/Teens | Singapore

Related posts

Hello.